import addWorkerInfoTpl from './addWorkerInfo.html';
import addWorkerInfoCtrl from './addWorkerInfo.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('addWorkerInfo', {
      parent: 'index',
      url: '/worker/add/:id',
      templateUrl: addWorkerInfoTpl,
      controller: addWorkerInfoCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
